// (C)2013 Reesoft
// GifAnimationTestDlg.h : header file

#pragma once

#include "GifAnimationCtrl.h"

// CGifAnimationTestDlg dialog
class CGifAnimationTestDlg : public CDialog
{
public:
	// Constructor
	CGifAnimationTestDlg(CWnd* pParent = NULL);

protected:
	// DDX/DDV support
	virtual void DoDataExchange(CDataExchange* pDX);

	virtual BOOL OnInitDialog();

	virtual void OnOK();

	DECLARE_MESSAGE_MAP()

	afx_msg void OnPaint();

	afx_msg HCURSOR OnQueryDragIcon();

	afx_msg void OnBnClickedOpenImageFile();

	afx_msg void OnBnClickedLoadFromBuffer();

	afx_msg void OnBnClickedLoadFromResource();

	afx_msg void OnBnClickedStartAnimation();

	afx_msg void OnBnClickedStopAnimation();

	afx_msg void OnBnClickedStretch();

public:
	enum { IDD = IDD_GIF_ANIMATION_TEST };

protected:
	HICON m_hIcon;

	BOOL m_bStretch;

	CGifAnimationCtrl m_GifAnimationCtrl;
};
